import CryptoJS from 'crypto-js';
export function encrypt(content) {
  const keyHex = CryptoJS.enc.Utf8.parse('iraetagjorder');
  const encrypted = CryptoJS.DES.encrypt(content, keyHex, {
    mode: CryptoJS.mode.ECB,
    padding: CryptoJS.pad.Pkcs7
  });
  return encrypted.toString();
}
